package com.hydl.power.service.impl;

import com.hydl.power.mapper.SysUserRoleMapper;
import com.hydl.power.service.SysUserRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class SysUserRoleServiceImpl implements SysUserRoleService {

    @Autowired
    private SysUserRoleMapper sysUserRoleMapper;

    @Override
    public int addSysUserRole(Integer userId, Integer roleId) {
        return sysUserRoleMapper.addSysUserRole(userId,roleId);
    }
}
